#include "Utility/EntityFactory.hpp"
#include "Entity/IEntity.hpp"
#include "Utility/Creator.hpp"
#include "Utility/Factory.hpp"

#include <iostream>
#include <map>
#include <string>

namespace Utility
{
	EntityFactory::EntityFactory( void )
	{
	}

	EntityFactory::~EntityFactory( void )
	{
	}

	Entity::IEntity *EntityFactory::Create( const std::string entClass )
	{
		Entity::IEntity *ent = GetCreator( entClass )->Create();
		ent->SetClass( entClass );

		return ent;
	}
}